
f = generateSong('C C# D D# E F/4 G A B c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E8 F/4 G4 A8 B c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E F/4 G A8 B8 c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E F/4 G A B c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E F/4 G A B c2 d4 e/2 f/4 g8 a/4 b/2 C C# D D# E F/4 G A B c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E8 F/4 G4 A8 B c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E F/4 G A8 B8 c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E F/4 G A B c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E F/4 G A B c2 d4 e/2 f/4 g8 a/4 b/2 C C# D D# E F/4 G A B c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E8 F/4 G4 A8 B c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E F/4 G A8 B8 c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E F/4 G A B c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E F/4 G A B c2 d4 e/2 f/4 g8 a/4 b/2 C C# D D# E F/4 G A B c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E8 F/4 G4 A8 B c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E F/4 G A8 B8 c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E F/4 G A B c2 d4 e/2 f/4 g a/4 b/2 C C# D D# E F/4 G A B c2 d4 e/2 f/4 g8 a/4 b/2',0.50);
wavwrite(f',44100,16,'test.wav');